package pe.com.casadesign.service.impl;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

import pe.com.casadesign.dao.CorreoModuloDAO;
import pe.com.casadesign.domain.ListaCorreoModulo;
import pe.com.casadesign.domain.CorreoModulo;
import pe.com.casadesign.domain.OperacionResultado;
import pe.com.casadesign.service.util.Constantes;
import pe.com.casadesign.service.CorreoModuloService;

/**
 * Implementacion de CorreoModuloService.
 * 
 * @author Gustavo Susano
 * 
 */
@Service
public class CorreoModuloServiceImpl implements CorreoModuloService {
	private static final Logger logger = LoggerFactory
			.getLogger(CorreoModuloServiceImpl.class);

	@Autowired
	private CorreoModuloDAO correoModuloDAO;

	@Override
	public ListaCorreoModulo listarCorreoModulo(CorreoModulo correoModulo){
		return correoModuloDAO.listarCorreoModulo(correoModulo);
		
	}
	
	@Override
	public CorreoModulo obtenerCorreoModulo(CorreoModulo correoModulo){
		return correoModuloDAO.obtenerCorreoModulo(correoModulo);

	}
}
